package com.alipay.api.domain;

import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;

/**
 * 电子发票平台发票明细项
 *
 * @author auto create
 * @since 1.0, 2018-06-11 16:17:30
 */
public class InvoiceItemContent extends AlipayObject {

	private static final long serialVersionUID = 4865119731468355612L;

	/**
	 * 价税合计。(等于sumPrice和tax之和)
	 */
	@ApiField("item_amount")
	private String itemAmount;

	/**
	 * 发票项目名称（或商品名称）
	 */
	@ApiField("item_name")
	private String itemName;

	/**
	 * 商品编号
	 */
	@ApiField("item_no")
	private String itemNo;

	/**
	 * 单价，格式：100.00。新版电子发票，折扣行此参数不能传，非折扣行必传
	 */
	@ApiField("item_price")
	private String itemPrice;

	/**
	 * 数量。新版电子发票，折扣行此参数不能传，非折扣行必传
	 */
	@ApiField("item_quantity")
	private Long itemQuantity;

	/**
	 * 单项总价，格式：100.00
	 */
	@ApiField("item_sum_price")
	private String itemSumPrice;

	/**
	 * 税额
	 */
	@ApiField("item_tax_price")
	private String itemTaxPrice;

	/**
	 * 税率
	 */
	@ApiField("item_tax_rate")
	private String itemTaxRate;

	/**
	 * 台
	 */
	@ApiField("item_unit")
	private String itemUnit;

	/**
	 * 发票行性质。0表示正常行，1表示折扣行，2表示被折扣行。比如充电器单价100元，折扣10元，则明细为2行，充电器行性质为2，折扣行性质为1。如果充电器没有折扣，则值应为0
	 */
	@ApiField("row_type")
	private Long rowType;

    /**
     * Gets item amount.
     *
     * @return the item amount
     */
    public String getItemAmount() {
		return this.itemAmount;
	}

    /**
     * Sets item amount.
     *
     * @param itemAmount the item amount
     */
    public void setItemAmount(String itemAmount) {
		this.itemAmount = itemAmount;
	}

    /**
     * Gets item name.
     *
     * @return the item name
     */
    public String getItemName() {
		return this.itemName;
	}

    /**
     * Sets item name.
     *
     * @param itemName the item name
     */
    public void setItemName(String itemName) {
		this.itemName = itemName;
	}

    /**
     * Gets item no.
     *
     * @return the item no
     */
    public String getItemNo() {
		return this.itemNo;
	}

    /**
     * Sets item no.
     *
     * @param itemNo the item no
     */
    public void setItemNo(String itemNo) {
		this.itemNo = itemNo;
	}

    /**
     * Gets item price.
     *
     * @return the item price
     */
    public String getItemPrice() {
		return this.itemPrice;
	}

    /**
     * Sets item price.
     *
     * @param itemPrice the item price
     */
    public void setItemPrice(String itemPrice) {
		this.itemPrice = itemPrice;
	}

    /**
     * Gets item quantity.
     *
     * @return the item quantity
     */
    public Long getItemQuantity() {
		return this.itemQuantity;
	}

    /**
     * Sets item quantity.
     *
     * @param itemQuantity the item quantity
     */
    public void setItemQuantity(Long itemQuantity) {
		this.itemQuantity = itemQuantity;
	}

    /**
     * Gets item sum price.
     *
     * @return the item sum price
     */
    public String getItemSumPrice() {
		return this.itemSumPrice;
	}

    /**
     * Sets item sum price.
     *
     * @param itemSumPrice the item sum price
     */
    public void setItemSumPrice(String itemSumPrice) {
		this.itemSumPrice = itemSumPrice;
	}

    /**
     * Gets item tax price.
     *
     * @return the item tax price
     */
    public String getItemTaxPrice() {
		return this.itemTaxPrice;
	}

    /**
     * Sets item tax price.
     *
     * @param itemTaxPrice the item tax price
     */
    public void setItemTaxPrice(String itemTaxPrice) {
		this.itemTaxPrice = itemTaxPrice;
	}

    /**
     * Gets item tax rate.
     *
     * @return the item tax rate
     */
    public String getItemTaxRate() {
		return this.itemTaxRate;
	}

    /**
     * Sets item tax rate.
     *
     * @param itemTaxRate the item tax rate
     */
    public void setItemTaxRate(String itemTaxRate) {
		this.itemTaxRate = itemTaxRate;
	}

    /**
     * Gets item unit.
     *
     * @return the item unit
     */
    public String getItemUnit() {
		return this.itemUnit;
	}

    /**
     * Sets item unit.
     *
     * @param itemUnit the item unit
     */
    public void setItemUnit(String itemUnit) {
		this.itemUnit = itemUnit;
	}

    /**
     * Gets row type.
     *
     * @return the row type
     */
    public Long getRowType() {
		return this.rowType;
	}

    /**
     * Sets row type.
     *
     * @param rowType the row type
     */
    public void setRowType(Long rowType) {
		this.rowType = rowType;
	}

}
